<template>
	<view class="hun" style="background-color: #EEEEEE;position: relative;height: 100%;">
		<!-- <view class="inv-h-w">
			<view :class="['inv-h',Inv==0?'inv-h-se':'']" @click="yj_searchForm1(Inv=0)">待办</view>
			<view :class="['inv-h',Inv==1?'inv-h-se':'']" @click="yj_searchForm1(Inv=1)">已办</view>
		</view> -->
		<view class="search" >
			<view class="searchBox">
				<input 
					 type="text" @focus='handFocus' 
					 v-model="treeName"
					placeholder="根据标段查询" />
			</view>
			<view class="searchBox">
				<picker  :disabled='disabled'  @change="Picker($event,bhjNameList)"
					:value="index" :range="bhjNameList" >
					<view class="picker" :style="{color:pickerIndex>-1?'#555':'#a0a0a0'}">
						{{pickerIndex>-1?nData:placeholderText}}
				
					</view>
				</picker>
			</view>
		</view>
		<view class="" style="margin-top: 80upx;position: absolute;width: 100%;">
			<commonList backgroundColors="#74B9FF" :config="table_config" :dataList="tableData" :Inv="Inv" @yj_viewForm="yj_viewForm"></commonList>
		</view>
		
		
		<tki-tree ref="company" nodeKey="fCompanyid" rangeKey="fShortname" :selectParent="selectParent" :multiple="multiple" :range="companyTree" :foldAll="flod"
					@confirm="treeConfirm" @cancel="treeCancel">
				</tki-tree>
				<!-- fShortname -->
	</view>
</template>
<script src="./index.js">
	
</script>

<style scoped lang="less">
	@import './index.less';
	
</style>